﻿<Window x:Class="hr_1.View.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Program for HR" Height="Auto" Width="Auto" WindowState="Maximized" Icon="/hr_1;component/Images/Chrysanthemum.jpg">
    <Grid Width="Auto">
        <Menu Name="menu1" VerticalAlignment="Top">
            <MenuItem Header="Файл">
                <MenuItem Header="Выход" Click="Exit_Click"></MenuItem>
            </MenuItem>
            <Separator BorderThickness="1.0"></Separator>
            <MenuItem Header="Сотрудники">
                <MenuItem Header="Добавить нового сотрудника" Click="Add_new_emp_Click"></MenuItem>
                <Separator></Separator>
                <MenuItem Header="Просмотр списка сотрудников" Click="Show_emp_Click"></MenuItem>
            </MenuItem>
            <Separator BorderThickness="1.0"></Separator>
            <MenuItem Header="Должности">
                <MenuItem Header="Просмотр списка должностей" Click="Show_pos_Click"></MenuItem>
            </MenuItem>
            <Separator BorderThickness="1.0"></Separator>
        </Menu>
        <Frame Margin="0,43,0,-16" Name="frame1" Source="MainPage.xaml" NavigationUIVisibility="Hidden" 
               Navigated="frame1_Navigated" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" 
               Width="Auto" Background="{x:Null}" />
    </Grid>
</Window>
